Optimal. Leaf size=77 \[ -\frac{i b \text{PolyLog}\left (2,-i e^{c+d x^2}\right )}{2 d^2}+\frac{i b \text{PolyLog}\left (2,i e^{c+d x^2}\right )}{2 d^2}+\frac{a x^4}{4}+\frac{b x^2 \tan ^{-1}\left (e^{c+d x^2}\right )}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0765736, antiderivative size = 77, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 5, integrand size = 16, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.312, Rules used = {14, 5436, 4180, 2279, 2391} \[ -\frac{i b \text{PolyLog}\left (2,-i e^{c+d x^2}\right )}{2 d^2}+\frac{i b \text{PolyLog}\left (2,i e^{c+d x^2}\right )}{2 d^2}+\frac{a x^4}{4}+\frac{b x^2 \tan ^{-1}\left (e^{c+d x^2}\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 14
Rule 5436
Rule 4180
Rule 2279
Rule 2391
Rubi steps
\begin{align*} \int x^3 \left (a+b \text{sech}\left (c+d x^2\right )\right ) \, dx &=\int \left (a x^3+b x^3 \text{sech}\left (c+d x^2\right )\right ) \, dx\\ &=\frac{a x^4}{4}+b \int x^3 \text{sech}\left (c+d x^2\right ) \, dx\\ &=\frac{a x^4}{4}+\frac{1}{2} b \operatorname{Subst}\left (\int x \text{sech}(c+d x) \, dx,x,x^2\right )\\ &=\frac{a x^4}{4}+\frac{b x^2 \tan ^{-1}\left (e^{c+d x^2}\right )}{d}-\frac{(i b) \operatorname{Subst}\left (\int \log \left (1-i e^{c+d x}\right ) \, dx,x,x^2\right )}{2 d}+\frac{(i b) \operatorname{Subst}\left (\int \log \left (1+i e^{c+d x}\right ) \, dx,x,x^2\right )}{2 d}\\ &=\frac{a x^4}{4}+\frac{b x^2 \tan ^{-1}\left (e^{c+d x^2}\right )}{d}-\frac{(i b) \operatorname{Subst}\left (\int \frac{\log (1-i x)}{x} \, dx,x,e^{c+d x^2}\right )}{2 d^2}+\frac{(i b) \operatorname{Subst}\left (\int \frac{\log (1+i x)}{x} \, dx,x,e^{c+d x^2}\right )}{2 d^2}\\ &=\frac{a x^4}{4}+\frac{b x^2 \tan ^{-1}\left (e^{c+d x^2}\right )}{d}-\frac{i b \text{Li}_2\left (-i e^{c+d x^2}\right )}{2 d^2}+\frac{i b \text{Li}_2\left (i e^{c+d x^2}\right )}{2 d^2}\\ \end{align*}
Mathematica [A] time = 0.178493, size = 135, normalized size = 1.75 \[ \frac{1}{4} \left (a x^4-\frac{b \left (2 i \left (\text{PolyLog}\left (2,-i e^{c+d x^2}\right )-\text{PolyLog}\left (2,i e^{c+d x^2}\right )\right )+\left (-2 i c-2 i d x^2+\pi \right ) \left (\log \left (1-i e^{c+d x^2}\right )-\log \left (1+i e^{c+d x^2}\right )\right )-(\pi -2 i c) \log \left (\cot \left (\frac{1}{4} \left (2 i c+2 i d x^2+\pi \right )\right )\right )\right )}{d^2}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.043, size = 0, normalized size = 0. \begin{align*} \int{x}^{3} \left ( a+b{\rm sech} \left (d{x}^{2}+c\right ) \right ) \, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{1}{4} \, a x^{4} + 2 \, b \int \frac{x^{3}}{e^{\left (d x^{2} + c\right )} + e^{\left (-d x^{2} - c\right )}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.24856, size = 516, normalized size = 6.7 \begin{align*} \frac{a d^{2} x^{4} - 2 i \, b c \log \left (\cosh \left (d x^{2} + c\right ) + \sinh \left (d x^{2} + c\right ) + i\right ) + 2 i \, b c \log \left (\cosh \left (d x^{2} + c\right ) + \sinh \left (d x^{2} + c\right ) - i\right ) + 2 i \, b{\rm Li}_2\left (i \, \cosh \left (d x^{2} + c\right ) + i \, \sinh \left (d x^{2} + c\right )\right ) - 2 i \, b{\rm Li}_2\left (-i \, \cosh \left (d x^{2} + c\right ) - i \, \sinh \left (d x^{2} + c\right )\right ) +{\left (-2 i \, b d x^{2} - 2 i \, b c\right )} \log \left (i \, \cosh \left (d x^{2} + c\right ) + i \, \sinh \left (d x^{2} + c\right ) + 1\right ) +{\left (2 i \, b d x^{2} + 2 i \, b c\right )} \log \left (-i \, \cosh \left (d x^{2} + c\right ) - i \, \sinh \left (d x^{2} + c\right ) + 1\right )}{4 \, d^{2}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{3} \left (a + b \operatorname{sech}{\left (c + d x^{2} \right )}\right )\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int{\left (b \operatorname{sech}\left (d x^{2} + c\right ) + a\right )} x^{3}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]